﻿
-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[usp_CostSailType_Tbl_Ins]
@CostSailType nvarchar(50), 
@AreaFactor float, 
@BoatSpeedAdjuster float, 
@LoadFactorAdjuster float, 
@MinTWS int, 
@MaxTWS int, 
@MinTWA int, 
@MaxTWA int, 
@MinAWA int, 
@MaxAWA int,  
@Main bit, 
@MaxAWSFactor float, 
@MinAWSFactor float, 
@ILuffMultiplier float, 
@JLPMultiplier float, 
@PLuffMultiplier float, 
@EFootMultiplier float, 
@CodeLetter nvarchar(50), 
@Code2 int, 
@SailTypeAddFactor float
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;

INSERT INTO CostSailType_Tbl (CostSailType, AreaFactor, BoatSpeedAdjuster, LoadFactorAdjuster, MinTWS, MaxTWS, MinTWA, MaxTWA, MinAWA, MaxAWA,  Main, MaxAWSFactor, MinAWSFactor, ILuffMultiplier, JLPMultiplier, PLuffMultiplier, EFootMultiplier, CodeLetter, Code2, SailTypeAddFactor) VALUES (@CostSailType, @AreaFactor, @BoatSpeedAdjuster, @LoadFactorAdjuster, @MinTWS, @MaxTWS, @MinTWA, @MaxTWA, @MinAWA, @MaxAWA,  @Main, @MaxAWSFactor, @MinAWSFactor, @ILuffMultiplier, @JLPMultiplier, @PLuffMultiplier, @EFootMultiplier, @CodeLetter, @Code2, @SailTypeAddFactor)
END